package com.pyl.admin.core.enums;

import lombok.Getter;

/**
 * 数据库字段状态枚举
 *
 * @author 灵魂贰婶
 * @date 2018/8/14
 */
@Getter
public enum UserIsRoleEnum {

    YES((byte) 1, "拥有角色"),
    NO((byte) 2, "没有角色");

    private Byte code;
    private String message;

    UserIsRoleEnum(Byte code, String message) {
        this.code = code;
        this.message = message;
    }
}

